package com.dnjn.happiness.survey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.survey.domain.CheckAnswer;
import com.dnjn.happiness.survey.domain.vo.CheckAnswerVO;
import com.dnjn.happiness.common.core.web.domain.AjaxResult;

import java.util.List;

/**
 * 考核答案Service接口
 *
 * @author happiness
 * @date 2024-04-02
 */
public interface ICheckAnswerService extends IService<CheckAnswer> {


    void saveList(CheckAnswerVO vo);

//    AjaxResult getAnswerByCheckIdAndUserId(Long checkId, Long userId);

    List<CheckAnswer> getAnswerByCheckItemId(Long checkItemId);

    AjaxResult getAnswerByCheckItemIdAndUserId(Long checkItemId, Long superiorUserId, Long subordinateUserId);
}
